package com.dys.testpolymorphic;

/**
 * @className: com.dys.testpolymorphic.Dog
 * @description: com.dys.testpolymorphic
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/07/20 下午11:27
 */
public class Dog extends Animal {

    public void shout() {
        System.out.println("小狗,汪汪叫....");
    }

    public void takeCareOfTheHouse() {
        System.out.println("小狗在看家护院，保护小主人....");
    }
}
